<template>
    <div>
        <div style="width: 1000px;margin: 20px auto;background-color: #FFFFFF;padding: 20px" v-html="info"></div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            dataFrom: {},
            info: ''
        }
    },
    mounted() {
        this.dataFrom = this.$route.query
        this.getInfo();
    },
    methods: {
        getInfo() {
            this.ajaxs('index/getContentText', {
                data: {
                    type: this.dataFrom.type,
                    id: this.dataFrom.id
                },
                success: (res) => {
                    this.info = res.msg;
                }
            })
        }
    }
}
</script>

<style scoped>

</style>